Automattic\WooCommerce\Pinterest\Tracking B

Total Complexity 79
Dependencies 6
Dependents 3
Total lines 709
Lines of code 311
Logical lines of code 142
Comment lines 199
Methods 28
Properties 6

Methods 28

Method Rating Maintainability Complexity Lines of code
maybe_init()
A
48 9 31
get_hashed_customer_email()
S
60 7 12
hook_checkout_event()
S
47 5 35
hook_add_to_cart_event()
S
55 4 19
get_third_party_installed_tags()
S
61 4 13
base_tag()
S
60 4 13
maybe_connect_advertiser_tag()
S
66 4 8
tracking_enabled()
S
65 4 9
get_add_to_cart_snippet_product()
S
54 2 25
prepare_event_code()
S
66 3 8
save_async_events()
S
71 3 5
enqueue_scripts()
S
63 3 10
print_script()
S
65 3 9
get_third_party_tags_warning_message()
S
60 2 13
page_visit_event()
S
61 2 13
category_visit_event()
S
63 2 11
get_add_to_cart_snippet_archive()
S
61 1 18
add_event()
S
73 2 4
load_async_events()
S
69 2 7
print_noscript()
S
66 2 8
verify_advertiser_connection()
S
66 2 8
ajax_tracking_snippet()
S
67 2 8
get_product_display_price()
S
77 2 3
enqueue_event()
S
78 1 3
print_event()
S
78 1 3
get_active_tag()
S
80 1 3
filter_add_to_cart_attributes()
S
66 1 8
late_events_handling()
S
77 1 4